<div class="right-box">
	<div class="same-floor">
		<h3>add 商品发布API</h3>
		<p>发布商品</p>
	</div>
	<div class="same-floor">
		<h3>API地址：</h3>
		<p>/api/b2b2c/store-goods/add.do</p>
		<h3>输入参数:</h3>
		<div class="need-parameter">
			<h4><span class="w100">参数</span><span class="w100">类型</span><span class="w100">是否必须</span><span class="w100">示例值</span><span class="w200">备注</span></h4>
			<p><span class="w100 important">brand_id</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">1</span><span class="w200">品牌</span></p>
			<p><span class="w100 important">cat_id</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">6</span><span class="w200">分类id,如果不输入，则搜索全部的分类下的商品</span></p>
			<p><span class="w100 important">cost</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">123</span><span class="w200">付款</span></p>
			<p><span class="w100 important">goods transfee charge</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">1</span><span class="w200">货物中转费</span></p>
			<p><span class="w100 important">groupnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">	规格参数</span><span class="w200">组名称</span></p>
			<p><span class="w100 important">haveSpec</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">0</span><span class="w200">规格</span></p>
			<p><span class="w100 important">market_enable</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">0</span><span class="w200">市场推动者</span></p>
			<p><span class="w100 important">mktprice</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">123</span><span class="w200">价格</span></p>
			<p><span class="w100 important">name</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">123</span><span class="w200">商品名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">规格</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">	重量</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">产品标准号</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">生产日期</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">保质期</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">储存方法</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">配料</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">产地</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnames</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">厂家</span><span class="w200">参数名称</span></p>
			<p><span class="w100 important">paramnums</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">9</span><span class="w200">参数数量</span></p>
			<p><span class="w100 important">price</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">	123</span><span class="w200">价格</span></p>
			<p><span class="w100 important">sn</span><span class="w100 important">String</span><span class="w100 important">必须</span><span class="w100 important">	qwe</span><span class="w200">商品编号</span></p>
			<p><span class="w100 important">store_cat_id</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">2</span><span class="w200">购物车id</span></p>
			<p><span class="w100 important">type_id</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">1</span><span class="w200">类型id</span></p>
			<p><span class="w100 important">weight</span><span class="w100 important">int</span><span class="w100 important">必须</span><span class="w100 important">123</span><span class="w200">重量</span></p>
		</div>
	</div>
	<div class="same-floor">
		<h3>返回示例：</h3>
		<h5>
			{"result":1,"message":"商品添加成功","data":null}
		</h5>
	</div>
</div>
